<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:52:"/home/wwwroot/crm/app/index/view/stocklog/index.html";i:1517973697;s:42:"/home/wwwroot/crm/app/index/view/base.html";i:1512719636;}*/ ?>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>山东归仁生物科技有限公司<?php echo HTRConf('CONF.appName'); ?></title>
<meta name="Keywords" content=""/>
<meta name="Description" content=""/> 
<link href="__INDEX__/js/ligerui/skins/Aqua/css/ligerui-all.css?v=<?php echo $v; ?>" rel="stylesheet" type="text/css" /> 
<link href="__STATIC__/plugins/validator/jquery.validator.css?v=<?php echo $v; ?>" rel="stylesheet">

<link href="__INDEX__/css/style.css?v=<?php echo $v; ?>" rel="stylesheet" type="text/css" />   
<script src="__STATIC__/js/jquery.min.js?v=<?php echo $v; ?>"></script>  
<script src="__INDEX__/js/ligerui/js/ligerui.all.js?v=<?php echo $v; ?>" type="text/javascript"></script> 
<script type='text/javascript' src='__STATIC__/plugins/layer/layer.js?v=<?php echo $v; ?>'></script> 
<script src="__STATIC__/js/common.js?v=<?php echo $v; ?>"></script>
<script>
window.conf = {"ROOT":"__ROOT__","APP":"__APP__","STATIC":"__STATIC__","SUFFIX":"<?php echo config('url_html_suffix'); ?>","USER_LOGO":"<?php echo HTRConf('CONF.userLogo'); ?>",'GRANT':'<?php echo implode(",",session("HTR_STAFF.privileges")); ?>'}
</script>
<script src="__INDEX__/js/common.js?v=<?php echo $v; ?>"></script>
<script type="text/javascript" src="__STATIC__/plugins/validator/jquery.validator.js?v=<?php echo $v; ?>"></script>
<script type="text/javascript" src="__STATIC__/plugins/validator/local/zh-CN.js?v=<?php echo $v; ?>"></script>
</head>
<body>

<div class="l-loading" style="display: block" id="htr-loading"></div>
<div class="htr-toolbar">
	<div class='f-left tbr-m'>月份：</div>
	<select id="month" name='month' class='j-ipt'>
	  <option value="">-请选择-</option>    
	  <?php if(is_array($monarr) || $monarr instanceof \think\Collection): $i = 0; $__LIST__ = $monarr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
	  <option value="<?php echo $vo; ?>"><?php echo $vo; ?></option>
	  <?php endforeach; endif; else: echo "" ;endif; ?>
	</select> 
	<div class='f-left tbr-m'>日期：</div>
	<input type="text" style="margin:0px;vertical-align:baseline;" id="createTime" name="createTime" class="j-ipt" maxLength="20"  />
	<div class='f-left tbr-m'>产品名称：</div>
	<input type="text" name="goodsName" id="goodsName" class='j-ipt'/>
	<div class='f-left tbr-m'>所在店铺：</div>
	<select id="shopId" name='shopId' class='j-ipt'>
	  <option value="">-请选择-</option>    
	  <?php if(is_array($shopList) || $shopList instanceof \think\Collection): $i = 0; $__LIST__ = $shopList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
	  <option value="<?php echo $key; ?>"><?php echo $vo; ?></option>
	  <?php endforeach; endif; else: echo "" ;endif; ?>
	</select> 
	<div class='f-left tbr-m'>类型：</div>
	<select id="type" name='type' class='j-ipt'>
	  <option value="">-请选择-</option>    
	  <option value="0">出库</option>
	  <option value="1">入库</option>
	</select> 
	<button class="btn btn-blue" onclick='javascript:loadGrid()'>查询</button>
	<div style='clear:both'></div>
</div>
<div id="maingrid"></div>
<script>
$(function(){
	$("#createTime").ligerDateEditor();
	initGrid();
})
</script>


<script src="__INDEX__/stocklog/stocklog.js?v=<?php echo $v; ?>" type="text/javascript"></script>

<script>
function showImg(opt){
	layer.photos(opt);
}
function showBox(opts){
	return HTR.open(opts);
}
</script>
</body>
</html>